#ifndef SCANNER_H
#define SCANNER_H

#include "value.h"

typedef struct Scanner
{
	Array result;
	Array char_buffer;
	u_int line;
	_boolean spacing;
} Scanner;

void Scanner_Init(Scanner *self);

Exception *Scanner_Parse_String(Scanner *self, const u_byte *source, Exception *exception);
Exception *Scanner_Parse_File(Scanner *self, const u_byte *source, Exception *exception);
void Scanner_Print(Scanner *self);

#endif